import request from "@/api/request";

/**
 * 分类列表导航列表
 * @returns
 */
function categoryNav(data) {
  return request({
    url: "/category/categoryNav",
    data,
  });
}

/**
 * 获取分类下的商品列表
 * @returns
 */
function goodsList(data) {
  return request({
    url: "/goods/goodsList",
    data,
  });
}

export { categoryNav, goodsList };
